//
//  ProdSkuView.h
//  JiaoX
//
//  Created by yinqy on 15/1/14.
//  Copyright (c) 2015年 北京娇羞科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ProductDetail.h"
#import "CalcView.h"
#define SKU_MARGINLEFT [DimensUtils getScaleX:50]
@protocol ProdSkuViewDelegate <NSObject>

@optional
- (void)buyBtnClickWtihCount:(NSUInteger)count;
@end


@interface ProdSkuView : UIView
@property (nonatomic, weak) id<ProdSkuViewDelegate> delegate;
@property (nonatomic, strong) CalcView *calcView;
-(instancetype)initWithProdDetail:(ProductDetail *)prodDetail;
-(NSUInteger)getSelectIndex;
-(BOOL)hasOneChecked;
-(void)clearSelected;

@end
